package de.ludo.dto;

import java.io.Serializable;

import de.ludo.gaming.PlayerType;

public class PlayerTO implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer sessionId;

	private String type;

	private int characterOne;

	private int characterTwo;

	private int characterThree;

	private int characterFour;

	/**
	 * Default Constructor
	 */
	public PlayerTO() {
	}

	public PlayerTO(Integer sessionId, PlayerType type) {
		this.sessionId = sessionId;
		// TODO toString richtig?
		this.type = type.toString();
		this.characterOne = 0;
		this.characterTwo = 0;
		this.characterThree = 0;
		this.characterFour = 0;
	}

	public Integer getSessionId() {
		return sessionId;
	}

	public void setSessionId(Integer sessionId) {
		this.sessionId = sessionId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getCharacterOne() {
		return characterOne;
	}

	public void setCharacterOne(int characterOne) {
		this.characterOne = characterOne;
	}

	public int getCharacterTwo() {
		return characterTwo;
	}

	public void setCharacterTwo(int characterTwo) {
		this.characterTwo = characterTwo;
	}

	public int getCharacterThree() {
		return characterThree;
	}

	public void setCharacterThree(int characterThree) {
		this.characterThree = characterThree;
	}

	public int getCharacterFour() {
		return characterFour;
	}

	public void setCharacterFour(int characterFour) {
		this.characterFour = characterFour;
	}

}
